package com.yunxin.core.admin.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 团队管理表
 * @TableName sys_team
 */
@TableName(value ="sys_team")
@Data
public class AdminTeam implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 团队名称
     */
    private String teamName;

    /**
     * 开启状态 1.开启 2.关闭
     */
    private Integer status;

    /**
     * 删除状态 1.正常 2.删除
     */
    @TableLogic(value = "1",delval = "2")
    private Integer isDel;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 修改时间
     */
    private Date updateTime;

    /**
     * 创建人
     */
    private String creator;

    /**
     * 修改人

     */
    private String editor;

    /**
     * 商户id
     */
    private Integer merchantId;

    @Schema(description = "关联微信企业id")
    @TableField(exist = false)
    private Long wechatInfoId;

    @Schema(description = "关联微信企业名称")
    @TableField(exist = false)
    private String corpName;

    @Schema(description = "授权方企业微信id")
    @TableField(exist = false)
    private String corpid;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}